package wrapper_package;

public class WidenAndBox 
{
	static void go(Long x) 
	{
		System.out.println("Long");
	}
	static void goTest(Object x) 
	{
		Byte b = (Byte)x;
		System.out.println(b);
	}

	public static void main(String[] args) 
	{
		byte b = 5;
		//go(b); // must widen then box - Compilation error
		goTest(b); // first boxing then widening
		
	}
}
